import cv2

img = cv2.imread('img/example.png')
print(img)
img_zoomin = img[::2, ::2,:]
cv2.imshow('big', img)
cv2.imshow('small', img_zoomin)
# cv2.imshow('re', cv2.resize(img,dsize=(150, 150)))
cv2.waitKey(0)